-
Notifications
You must be signed in to change notification settings - Fork 1k
Reapply "Workflow adjustments" #5301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit b640a16.
Should fix missing `../../yosys-abc`
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
| } | ||
| } | ||
| var.clk_en = find_single_cap(pdef.clken, cram.options, portopts, "clken"); | ||
| var.clk_en = find_single_cap(pdef.clken, cram.options, portopts, "clken") != nullptr; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm morbidly curious why this change is required 🤔 Is something about how find_single_cap is declared interfering with the implicit conversion to bool?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual fix is assigning a default value to PortVariant::clk_en, this change was incidental while investigating but it made sense to me to leave it in since it helps with readability.
|
|
…_5280" This reverts commit 88eb83a.
What are the reasons/motivation for this change?
#5280 had two failing jobs CI on merge and was reverted.
test-cellsjob was added in Updating test_cell #5024 based on the old reusable build cache name (i.e. including sanitizer). This was merged after Workflow adjustments #5280 was written, but it didn't trigger a merge conflict so I forgot to update the PR to catch that one.run-sanworked fine when it was part of thetest-build.ymlwhere it had separate build and test jobs, with the build job using an out-of-tree build. When I moved it intotest-sanitizers.ymlI merged the build and test jobs, but didn't account for the out-of-tree build.iverilogcache key has been broken since CI: Fixes from zizmor #5016. It was changed to use shell expansion, but it wasn't running in a shell and was instead an action variable.Explain how this is achieved.
test-cells.run-santo build Yosys in-tree.IVERILOG_GITto output instead of env, so we can expand it without worrying about environment variable vulnerabilities.If applicable, please suggest to reviewers how they can test the change.
I tested the two failing jobs on my fork, since
test-sanitizers.ymlno longer exists onmainand therefore github doesn't allow workflow triggers. Compiler testing (test-cells), and run-san.